<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 132px;
        }

        .box div {
            color: #fff;
            background: #31c27c;
            line-height: 40px;
            text-align: center;
            /* 圆角 */
            border-radius: 3px;
        }

        ul {
            display: none;
            list-style: none;
            /* 内边距 */
            padding: 0;
            /* 外边距 */
            margin: 0;
            /* 边框 */
            border: 1px #ccc solid;
        }

        ul li {
            line-height: 40px;
            text-align: center;
        }

        .box:hover ul {
            /* 元素显示 */
            display: block;
        }
    </style>
</head>

<body>
    <div class="box">
        <div>开通vip</div>
        <ul>
            <li>开通绿钻豪华版</li>
            <li>开通付费包</li>
        </ul>
    </div>
</body>

</html>